import request from "../utils/request";
import {FieldType} from "@/view/Login/components/LoginForm/LoginForm";
import {ResponseType} from "@/type/ResponseType";

enum Enum {
    userLogin = "/sys/login"
}

/**
 * @description 登录的接口
 * */
export const userLoginAPI = (data: FieldType) => request.post<string, ResponseType<string>>(Enum.userLogin, data)
